package com.example.demo.dao.monDao;
import com.example.demo.dto.monDTO.PersonResultMongoTest;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.List;

public interface PersonResultGetDao extends MongoRepository<PersonResultMongoTest,String> {
    Page<PersonResultMongoTest> findByOpenid(String openid, Pageable pageable);
    List<PersonResultMongoTest> findByOpenid(String openid);
}
